<template>
	<n-config-provider :hljs="hljs">
		<n-config-provider>
			<n-dialog-provider>
				<n-loading-bar-provider>
					<n-message-provider>
						<NuxtLayout name="default">
							<NuxtPage />
						</NuxtLayout>
					</n-message-provider>
				</n-loading-bar-provider>
			</n-dialog-provider>
		</n-config-provider>
	</n-config-provider>
</template>

<script setup>
	import hljs from "highlight.js/lib/core";
	import json from "highlight.js/lib/languages/json";
	// 注册JSON语言
	hljs.registerLanguage("json", json);
</script>
